<nav class="navbar navbar-default navbar-fixed-top" id="navbar-2nd">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="/" target="_blank"><img src=" /static/cof/public/logo-vertical.png" height="25px"></a>

            <a class="navbar-brand navbar-home" href="/"><i
                    class="fa fa-home fa-lg" aria-hidden="true"></i></a>

        </div>

        <div id="navbar" class="navbar-collapse collapse">



            <ul class="nav navbar-nav">
<!--                <li dir="ltr"><a href="tel:400 120 3225"><i class="fa fa-phone" aria-hidden="true"></i> <span class="hideTabletText"></span></a></li>-->
<!--                <li>-->
<!--                    <a href="mailto:asia.support@windsorbrokers.com">-->
<!--                        <i class="fa fa-envelope-o" aria-hidden="true"></i> <span class="hideTabletText"></span>-->
<!--                    </a>-->
<!--                </li>-->
            </ul>

            <ul class="nav navbar-nav navbar-right">
                <!--Applications-->
                <li>
                    <a >我的邀请码：{$UserInfo.recommend_num} <button class="copy_btn btn-xs btn-primary copy" data-clipboard-text="{$tj_url}">复制</button></a>
                </li>
                <!--BI Portal-->
<!--                <li>-->
<!--                    <a href="" id="redirectToBi"-->
<!--                       onclick="if (!window.__cfRLUnblockHandlers) return false; redirectToBi()"><i-->
<!--                            class="fa fa-line-chart" aria-hidden="true"></i> 代理后台</a>-->
<!--                    <form id="redirectToBiForm" method="post" action="https://bisc.myuserhub.com/">-->
<!--                        <input type="hidden"-->
<!--                               value="eyJhbGciOiJodHRwOi8vd3d3LnczLm9yZy8yMDAxLzA0L3htbGRzaWctbW9yZSNobWFjLXNoYTI1NiIsInR5cCI6IkpXVCJ9.eyJJZCI6IjU5ODI2MCIsIkVtYWlsIjoiNDM0NzYzNjlAMTYzLmNvbSIsIlJvbGUiOiJCSSIsIkNybUlkIjoiMDAxNEkwMDAwMjZvV1JqUUFNIiwiQXBwbGljYXRpb24iOiJDbGllbnQiLCJPcmdhbml6YXRpb24iOiJTZXljaGVsbGVzIiwiUGxhdGZvcm0iOiJXZWIiLCJleHAiOjE2NDE4OTA3MTksImlzcyI6IkF1dGhXZWJBcGkifQ.xv-woQCmsbpKlmWweRzKZKB0YPlu9Kzul5KRNxhV2jE"-->
<!--                               name="redirectToken" id="redirectToken">-->
<!--                        <input type="hidden" value="clientPortal" name="portalId" id="portalId">-->
<!--                    </form>-->
<!--                </li>-->

                <!--End Applications-->

                <li class="dropdown">
                    <a href="" class="dropdown-toggle"
                       data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i
                            class="fa fa-flag" aria-hidden="true"></i> 中文 <span class="caret"></span></a>
                    <ul class="dropdown-menu langSelector" float-side="right">
                        <form id="langSelectorForm" method="get" action="">
                            <input type="hidden" value="langSelectorCode" name="langSelectorCode"
                                   id="langSelectorCode">
                            <input type="hidden" value="dropdown" name="fromLangSelector" id="langSource">
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;en&#39;)"
                                   id="langSelectorEnglish"><img src=" /static/cof/public/UK-icon.png"
                                                                 class="img-responsive langFlag"> English</a></li>
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;ar&#39;)"
                                   id="langSelectorArabic"><img src=" /static/cof/public/AR-icon.png"
                                                                class="img-responsive langFlag"> العربية</a></li>
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;zh&#39;)"
                                   id="langSelectorChinese"><img src=" /static/cof/public/ZH-icon.png"
                                                                 class="img-responsive langFlag"> 中文</a></li>
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;fa&#39;)"
                                   id="langSelectorFarsi"><img src=" /static/cof/public/FA-icon.png"
                                                               class="img-responsive langFlag"> فارسی</a></li>
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;my&#39;)"
                                   id="langSelectorMalay"><img src=" /static/cof/public/MY-icon.png"
                                                               class="img-responsive langFlag"> Melayu</a></li>
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;ko&#39;)"
                                   id="langSelectorKorean"><img src=" /static/cof/public/KO-icon.png"
                                                                class="img-responsive langFlag"> 한국어</a></li>
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;fr&#39;)"
                                   id="langSelectorFrench"><img src=" /static/cof/public/FR-icon.png"
                                                                class="img-responsive langFlag"> Français</a></li>
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;th&#39;)"
                                   id="langSelectorThai"><img src=" /static/cof/public/TH-icon.png"
                                                              class="img-responsive langFlag"> ภาษาไทย</a></li>
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;vi&#39;)"
                                   id="langSelectorVietnamese"><img src=" /static/cof/public/VI-icon.png"
                                                                    class="img-responsive langFlag"> Việt</a></li>
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;id&#39;)"
                                   id="langSelectorIndonesian"><img src=" /static/cof/public/ID-icon.png"
                                                                    class="img-responsive langFlag"> Indonesia</a></li>
                            <li><a href=""
                                   onclick="if (!window.__cfRLUnblockHandlers) return false; changeLanguage(&#39;es&#39;)"
                                   id="langSelectorSpanish"><img src=" /static/cof/public/ES-icon.png"
                                                                 class="img-responsive langFlag"> Español</a></li>
                        </form>
                    </ul>
                </li>

                <li class="dropdown">
                    <a class="dropdown-toggle myaccount"
                       data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"><i
                            class="fa fa-user" aria-hidden="true"></i> <span class="userName">我的账户</span> <span
                            class="caret"></span></a>
                    <ul class="dropdown-menu" float-side="right">
                        <li><a href="{:url('User/UserInfo')}"><i class="fa fa-user"></i>
                            查看个人资料</a></li>

                        <li><a href="{:url('Open/LoginOut')}"><i class="fa fa-sign-out"></i> 登出
                            <span class="sr-only">(current)</span></a></li>
                    </ul>
                </li>

            </ul>

        </div>
        <!--/.nav-collapse -->
    </div>

</nav>